package nl.ceasaro.poker.texasHoldEm.odds;

import nl.ceasaro.playingcards.Card;
import nl.ceasaro.poker.ranking.PokerRankCalculator;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Zerg.
 * User: cees
 * Date: Jul 31, 2007
 * Time: 10:03:46 PM
 *
 * @todo Document this class
 */
public class TexasOddsCalculator
{
   /**
    * @param playerCards    the cards the player keeps in his hand
    * @param communityCards the cards drawn on the poker table
    * @param deck           the cards still in the deck (or in the other players hands).
    * @return the outs of getting a royal straight flush
    */
   public List<Card> getOutsRoyalStraightFlush(List<Card> playerCards, List<Card> communityCards, List<Card> deck)
   {
      ArrayList<Card> outs = PokerRankCalculator.getStraight(playerCards, true);
      outs.removeAll(playerCards);
      return outs;
   }

}
